<?php 
	header("Content-type: application/json; charset=utf-8");
?>
<?php
	include("include0.php");
		$sql = "select ProductID, ProductName, SupplierID from Products";
		//echo $sql;
		$arr = array();
		
		$rs = mysql_query($sql);
		//$rs = mysql_query("select * from khoiluongmoithau");
		while($obj = mysql_fetch_object($rs))
		{
				$arr[] = $obj;
				
		}
		
		echo "{\"data\":" . json_encode($arr , JSON_UNESCAPED_UNICODE) . "}";
	//
	
	
?>